Design and Implementation of a C-code Generator for B(pn) 2
نویسنده
چکیده
In this paper the basic ideas underlying the implementation of a Code Generator for B(PN) 2 (Basic Petri Net ProgrammingNotation), i.e. a translator of B(PN) 2 into C is presented. The core syntax of the source language is extended by C-routine calls (i.e user deened procedures or system calls) as atomic commands. The target language is represented in terms of the ANSI C Standard with its operating system routines belonging to the POSIX Standard. The source language is considered to be used on a multiprocessor UNIX 1 platform. The major diiculties of the translation are the following: atomic commands (shared-memory-segments with kernel semaphores) guarded commands (removal of bounded nondeterminism) the parallel operator (distribution to UNIX-processes) the synchronisation of the processes through channels with capacity 0.
منابع مشابه
An automatic test case generator for evaluating implementation of access control policies
One of the main requirements for providing software security is the enforcement of access control policies which aim to protect resources of the system against unauthorized accesses. Any error in the implementation of such policies may lead to undesirable outcomes. For testing the implementation of access control policies, it is preferred to use automated methods which are faster and more relia...
متن کاملDesign and Implementation of Field Programmable Gate Array Based Baseband Processor for Passive Radio Frequency Identification Tag (TECHNICAL NOTE)
In this paper, an Ultra High Frequency (UHF) base band processor for a passive tag is presented. It proposes a Radio Frequency Identification (RFID) tag digital base band architecture which is compatible with the EPC C C2/ISO18000-6B protocol. Several design approaches such as clock gating technique, clock strobe design and clock management are used. In order to reduce the area Decimal Matrix C...
متن کاملDesign and Implementation of an Intelligent Part of Speech Generator
The aim of this paper is to report on an attempt to design and implement an intelligent system capable of generating the correct part of speech for a given sentence while the sentence is totally new to the system and not stored in any database available to the system. It follows the same steps a normal individual does to provide the correct parts of speech using a natural language processor. It...
متن کاملImproving Long PN-Code Acquisition in the Presence of Doppler Frequency Shifts
Wireless communication is the major form of connection nowadays. In most cases it exploits the benefits of the spread spectrum techniques to overcome channel introduced corruptions like Doppler residual frequency, noise, interference and jamming. These techniques also enhance the security and quality of the link. Using long spreading pseudo-noise codes provides further security for the link tho...
متن کاملShape Optimization of an abrupt contraction using numerical streamlining
This research was conducted to find a reliable technique to shape an abrupt contraction for minimizing the energy loss. The method may find broader applications in design of variety of transitional cross-sections in hydraulic structures. The streamlines in a 2-D contraction were calculated through solving the potential flow equations in rectangular and curvilinear coordinates. The natural cubic...
متن کامل